package cn.z2huo.knowledge.basic.keyword.statickeyword.staticmethod;

import org.apache.commons.lang3.RandomStringUtils;

import java.util.List;

/**
 * <p>
 *
 * @author z2huo
 */
class StaticInit {

    public static List<String> list = init();

    public static List<String> getRandomList() {
        return List.of(RandomStringUtils.randomAlphabetic(4), RandomStringUtils.randomAlphabetic(4));
    }

    public static List<String> init() {
        return List.of("1", "2");
    }

    public static void main(String[] args) {
        System.out.println(StaticInit.list);

        System.out.println(getRandomList());
        System.out.println(getRandomList());

    }

}
